<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        const porset = {
            uname: '123',
            age: '100',
            sex: '人妖'
        }
        const { uname, age, sex } = porset
        const { uname: nas, age, sex } = porset
        console.log(nas);
        console.log(age);
        console.log(sex);
        console.log(uname);
    </script>
</body>

</html>